<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS 2.1 Test Suite: Selectors: The :before and :after pseudo-elements</title>
  <link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
  <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#before-and-after" />
  <meta name="flags" content="" />
  <meta name="assert" content="Browsers should insert content before and after the content of the specified element"/>
<style type="text/css">
p:before {content: "Before "; font-weight: bold; color: green}
p:after {content: "After "; font-weight: bold; color: green}

</style>
 </head>
 <body>
<p>This paragraph should have the words &quot;Before&quot; and &quot;After&quot; before/after its content. They should be green and in bold face.</p>


 </body>
</html>